<%= form_for(@test_case) do |f| %>
  <% if @test_case.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@test_case.errors.count, "error") %> prohibited this test_case from being saved:</h2>

      <ul>
      <% @test_case.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= f.label :project %><br />
    <%= f.text_field :project_id %>
  </div>
  <div class="field">
    <%= f.label :class_name %><br />
    <%= f.text_field :class_name %>
  </div>
  <div class="field">
    <%= f.label :device %><br />
    <%= f.text_field :device %>
  </div>
  <div class="field">
    <%= f.label :date %><br />
    <%= f.text_field :date %>
  </div>
  <div class="field">
    <%= f.label :result %><br />
    <%= f.text_field :result %>
  </div>
  <div class="field">
    <%= f.label :test_name %><br />
    <%= f.text_field :test_name %>
  </div>
  <div class="field">
    <%= f.label :test_procedure %><br />
    <%= f.text_area :test_procedure %>
  </div>
  <div class="field">
    <%= f.label :confirmation_contents %><br />
    <%= f.text_area :confirmation_contents %>
  </div>
  <div class="field">
    <%= f.label :trace %><br />
    <%= f.text_area :trace %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>
